<template>
  <div class="running-dialog">
    <div class="title">提示</div>
    <div class="description">时钟已自动校准！</div>
    <div class="btn" @click="onEmit('confirm')">我知道了</div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
console.log(router)

const emit = defineEmits(['emitConfirm'])
const props = defineProps({
  propData: {
    type: String,
    default: ''
  }
})
console.log(props)
const onEmit = (type: string) => {
  emit('emitConfirm', type)
}
</script>
<style lang="less" scoped>
@import url(../../assets/style/error.less);
</style>
